{include file = 'f-header.tpl'}
<div class="main">
	<div class="s_left">
				<img src="{$baseUrl}/public/images/logo_s.png" />
				<img style="margin-left:-5px;" src="{$baseUrl}/public/images/s1.png" />
		            <form name="form1" method="post" action="{$baseUrl}info/search">

					<input class="kw" name="keyword" placeholder="keyword..." />
					<select name="class">
						<option value="all">所有类别</option>
						<option value="1">类别一</option>
						<option value="2">类别二</option>
						<option value="3">类别三</option>
						<option value="4">类别四</option>
					</select>
					<select name="city">
						<option value="all">所有城市</option>
						<option value="米兰">米兰</option>
						<option value="成都">成都</option>
						<option value="罗马">罗马</option>
					</select>
					<a href="javascript:form1.submit();" class="search" ><img src="{$baseUrl}/public/images/search.png" /></a>
				</form>

				<a href="#"><img style="padding:8px;" src="{$baseUrl}/public/images/6.jpg" /></a>
			</div>
            <div class="s_right">
            <div class="white_back">
            <h3>添加广告信息</h3>
            <form name="form1" id="form1" action="{$baseUrl}ads/addAds" method="post" autocomplete="off">
                <input type="hidden" name="id" value="{$id}" />
                <table class="reg">
                <tr>
                    <td>广告标题:</td>
                    <td><input type="text" name="name" value="{$name}" /></td>
                </tr>
                <tr>
                    <td>广告地址:</td>
                    <td><input type="text" name="address" value="{$addres}"/></td>
                </tr>
                <tr>
                    <td>广告信息:</td>
                    <td><textarea  style="height:200px;width:200px;" name="content" >{$content}</textarea></td>
                </tr>
                <tr>
                    <td colspan=2><input type="hidden" name="pic" id="pic"  value="{$pic}" ><span class="red" id="pic_tip">请先上传宣传图</span></td>
                </tr>
                </table>
            </form>
        <h3>广告宣传图片</h3>
        <form action="{$baseUrl}photo/upPic?callback=adsPic&scaleX=200" enctype="multipart/form-data" method="post" target='pic' >
            <input  name='file[]' type='file'></input>
            <input type='submit' value='上传' />
        </form>
        <p>移动方框，双击裁剪</p>
        <div id='ico_pic'>
                <img src="{$ico}" />
        </div>
        <iframe name='pic' style='display:none;'> </iframe>
        <input id="save" type="button" value="保存"></input>
        <input id="baseUrl" type="hidden" value="{$baseUrl}" />
    </div>
    </div>

</div>


<div class="clear"></div>
{literal}
<script>

</script>
{/literal}
{include file = 'f-footer.tpl'}


